package com.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User:xieChao
 * Date:2022/11/28 20:11
 */
@Controller
public class UserController {
//    @Autowired
//    private UserService userService;
    public void sayHi(){
       // System.out.println(userService);
//        userService.sayHi();
       System.out.println("hello Controller");
    }
}
